#!/bin/bash -e

rm -rf ./dl-assets/
mkdir -p ./dl-assets/
wget -O ./dl-assets/Digital.zip https://github.com/hneemann/Digital/releases/download/v0.30/Digital.zip
pushd ./dl-assets/
unzip Digital.zip
popd
dpkg-buildpackage -us -uc
lintian ../digital_0.30~spark1_all.deb
